package com.minis.test.jdbc;

import java.util.Date;

/**
 * @Author： HTTT
 * @Date： 2024/3/2 21:33
 * @Describe：
 */
public class User {
    int id = 1;

    public int getId() {
        return id;
    }
    public void setId(int id) {
        this.id = id;
    }
    String name = "";

    public String getName() {
        return this.name;
    }
    public void setName(String name) {
        this.name = name;
    }

    Date birthday = new Date();

    public Date getBirthday() {
        return birthday;
    }
    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", birthday=" + birthday +
                '}';
    }
}
